package util;

import models.RouteMapper;
import models.RoutePoint;

/**
 * Created by IntelliJ IDEA.
 * User: Julioagh
 * Date: 02/10/11
 * Time: 04:49 PM
 * To change this template use File | Settings | File Templates.
 */
public class RouteMapperBuilder {
    public static RouteMapper createExpectedMapper() {
        RouteMapper routeMapper = new RouteMapper();
        RoutePoint r1 = RoutePointBuilder.createRoutePoint(1l, "r1");
        RoutePoint r2 = RoutePointBuilder.createRoutePoint(2l, "r2");
        RoutePoint r3 = RoutePointBuilder.createRoutePoint(3l, "r3");
        RoutePoint r4 = RoutePointBuilder.createRoutePoint(4l, "r4");
        RoutePoint r5 = RoutePointBuilder.createRoutePoint(5l, "r5");

        routeMapper.putRoutePoint(0, r1);
        routeMapper.putRoutePoint(1, r2);
        routeMapper.putRoutePoint(2, r3);
        routeMapper.putRoutePoint(3, r4);
        routeMapper.putRoutePoint(4, r5);

        return routeMapper;
    }
}
